pp108 : Using Intellisense

Using Intellisense

This topic describes Intellisense, that is used in creating XPath expressions.


Intellisense is a feature that prompts you with options when you create or edit the XPath, based on your current position in the XPath. Using the Intellisense feature, you can insert the appropriate option in the XPath. The XPath text area suppports Intellisense.

By default, elements and attributes are included in the context menu, if they fit at the position of the cursor. If the start of a function name is already written on that position, the matching function names will also be included as an option.
The following table describes the keyboard controls that can be used in the Intellisense menu.

Select the ... Key

To...

Up Arrow

Select the option above the currently selected option. If the first option is currently selected, the last option will be selected.

Down Arrow

Select the option below the currently selected option. If the last option is currently selected, the first option will be selected.

Left Arrow/ Right Arrow/ Home/End

Navigate the cursor through the XPath while keeping the Intellisense menu open at the new location of the cursor.

Tab

Insert the currently selected option into the XPath. The Intellisense menu will be moved to the end of the just inserted XPath.

Enter

Insert the currently selected option into the XPath and close the intellisense menu.

Esc

Close the Intellisense menu.

Page Up

Select the first option.

Page Down

Select the last option.



In addition, the mouse can also be used to select an option. When an option is clicked, it will be inserted and the Intellisense menu will be closed.

Scrolling in the Intellisense Menu


If there are more options available than fit on the screen, a bar appears on the top and the bottom of the Intellisense menu. If the mouse is hovered over these bars, the Intellisense menu will scroll up or down.

If you hover the mouse over the options in the Intellisense menu, the mouse wheel can also be used to scroll through the options.

If the user selects and option with the Up or Down arrow keys, then the Intellisense menu will always scroll to a position where the option is visible.

Related tasks

Creating an XPath Expression

Related reference

Rule Engine Function Library